import Device from "../pages/Device";
import MediaStream from "../pages/MediaStream";
import AudioStream from "../pages/AudioStream";
import Record from "../pages/Record";
import DesktopDisplay from "../pages/DesktopDisplay";
import Chatroom from "../pages/Chatroom";

const routes = [
  {
    name: "device",
    path: "/device",
    component: Device,
  },
  {
    name: "media",
    path: "/media",
    component: MediaStream,
  },
  {
    name: "audio",
    path: "/audio",
    component: AudioStream,
  },
  {
    name: "record",
    path: "/record",
    component: Record,
  },
  {
    name: "desktop",
    path: "/desktop",
    component: DesktopDisplay,
  },
  {
    name: "chatroom",
    path: "/chatroom",
    component: Chatroom,
  },
];

export default routes;
